/*
 * 
 */
package kasgroup1;
import java.util.ArrayList;
/**
 * A class representing Daytrips.
 * @author Róar Terjason Hansen
 */
public class Daytrip {
    private ArrayList<Companion> companions;
    private String name;
    private String date;
    private int price;
    
    
    public Daytrip(String name, String date, int price){
        companions = new ArrayList<>();
        this.name = name;
        this.date = date;
        this.price = price;
    }
    /**
     * Returns the Companion ArrayList.
     * @return attendees
     */
    public ArrayList getAttendees(){
        return companions;
    }
     /**
     * Returns the Companion ArrayList.
     * @return name
     */
    public String getName(){
        return name;
    }
    
    public String toString(){
        return name;
    }
    
    public int getPrice()
    {
        return price;
    }
    
    public String getDate()
    {
        return date;
    }
}
